home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / codelib7 / v_09_10 / 9n10024d < prev    next >
Encoding:
Text File  |  1995-11-01  |  479 b   |  18 lines

  1.  
  2. /* --------------------------------------------------------------
  3.  
  4. FUNCTION PUT_FREE_NODE: The steps to release an active node and add
  5.         it to the front of the free list are:
  6.  
  7. A.  Free the space occupied by the node's string. Then insert the node 
  8.     at the start of the free node list.
  9.  
  10. -------------------------------------------------------------- */
  11.  
  12. void put_free_node(Node *pnode)
  13. {
  14. /*A*/   pnode->pfwd = pfree_node;
  15.         pfree_node = pnode;
  16. }
  17.  
  18.